CentOS 7
Sponsored Link

Gluster 4.0 : Clients' Settings
2016/08/06
 
It's the settings for GlusterFS clients to mount GlusterFS volumes.
[1] For mounting with GlusterFS Native Client, Configure like follows.
[root@client ~]#
yum -y install centos-release-gluster40
[root@client ~]#
sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/CentOS-Gluster-4.0.repo
[root@client ~]#
yum --enablerepo=centos-gluster40 -y install glusterfs glusterfs-fuse
# for example, mount [vol_distributed] volume on /mnt

[root@client ~]#
mount -t glusterfs node01.srv.world:/vol_distributed /mnt

[root@client ~]#
df -hT

Filesystem                        Type            Size  Used Avail Use% Mounted on
/dev/mapper/cl-root               xfs              26G  1.4G   25G   6% /
devtmpfs                          devtmpfs        2.0G     0  2.0G   0% /dev
tmpfs                             tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs                             tmpfs           2.0G  8.4M  2.0G   1% /run
tmpfs                             tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/vda1                         xfs            1014M  234M  781M  24% /boot
tmpfs                             tmpfs           396M     0  396M   0% /run/user/0
node01.srv.world:/vol_distributed fuse.glusterfs   52G  3.2G   49G   7% /mnt
 
Tweet